function Main()
{
	while(1){
		xsh.Session.Sleep(5000);
		xsh.Screen.Send("setfps");
		xsh.Screen.Send(String.fromCharCode(13));
		xsh.Session.Sleep(5000);
		xsh.Screen.Send("rate");
		xsh.Screen.Send(String.fromCharCode(13));
		xsh.Session.Sleep(5000);
		xsh.Screen.Send("filp");
		xsh.Screen.Send(String.fromCharCode(13));
		xsh.Session.Sleep(5000);
		xsh.Screen.Send("mirror");
		xsh.Screen.Send(String.fromCharCode(13));
		xsh.Session.Sleep(5000);
		xsh.Screen.Send("dn");
		xsh.Screen.Send(String.fromCharCode(13));
	}

}
